<?php
/**
 * update.phtml
 * 
 * @category    Madoqua
 * @package     Module
 * @subpackage  BlogAdmin
 */

$this->adminNavigation('post', 'write');

?>
<h2>Update your post</h2>
<?php if ($this->success) : ?>
<div class="message">
    Your post has been updated succesfully
</div>
<?php endif; ?>

<?php echo $this->render('post/form/form.phtml'); ?>

<a href="<?php echo $this->url(array('controller' => 'post', 'action' => 'delete-confirm', 'id' => $this->id), 'blog_admin', true); ?>">Delete post</a>